package com.cancer.biz.hotel.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.cancer.biz.hotel.entity.Project;
import com.cancer.biz.hotel.entity.query.RequsetHotelListParam;
import com.cancer.biz.hotel.entity.query.ResponseHotelListBean;

public interface ProjectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);
    /**
     * 查询酒店列表（分页）
     * @param startIndex
     * @param count
     * @param param
     * @return
     */
    List<ResponseHotelListBean> selectHotelList(@Param("startIndex") int startIndex, @Param("count") Integer count,
            @Param("param") RequsetHotelListParam param);
    /**
     * 酒店列表总数
     * @param param
     * @return
     */
    Integer selectHotelCount(@Param("param") RequsetHotelListParam param);
}